﻿Option Strict On
Option Explicit On

''' <summary>
''' Contains a reference to the GameEngine and GameTime used by calls to OnInput, OnLoad, OnUpdate, OnMouseDown, and OnMouseUp.
''' </summary>
''' <remarks></remarks>
Public Class GameEngineEventArgs
    Inherits EventArgs

    ''' <summary>
    ''' The active game engine.
    ''' </summary>
    ''' <remarks></remarks>
    Public ReadOnly Engine As GameEngine

    ''' <summary>
    ''' The current game time.
    ''' </summary>
    ''' <remarks></remarks>
    Public ReadOnly Time As GameTime

    Public Sub New(ByVal source As GameEngine, ByVal timeOfEvent As GameTime)
        Engine = source
        Time = timeOfEvent
    End Sub
End Class
